print("姓名：{}，专业：{},班级{}".format("小明", "计算机", "14班"))
print(f"姓名：{'小明'}，专业：{'计算机'},班级{'14班'}")

num = 123456.256
print(f"{num:.2f}")